package com.jp.bytecode;

import java.util.concurrent.Phaser;

public class Mytest5 {
    public void test(Parent p){
        System.out.println("parent");
    }
    public void test(Child child){
        System.out.println("child");
    }

    public static void main(String[] args) {
        Mytest5 mytest5 = new Mytest5();
        Parent parent = new Child();
        mytest5.test(parent);
    }
}

class Parent{}
class Child extends Parent{}
